package besuper;

import java.util.Scanner;

public class BeSuperConsole {
	private static Scanner scanner=new Scanner(System.in);

	public static void println(String str) {
		System.out.println(str);
	}

	public static String prompt(String str) {
		while (true) {
			System.out.println(str);
			String st = scanner.nextLine().trim();

			if (!"".equals(st)) {
				return st;
			}
			else
				
			System.out.println("Invalid input.Empty value is not allowed");
		}
	}
    public static void close(){
    	 scanner.close();
    }
}
